package com.example.demo.service;

import com.example.demo.entity.Product;
import com.baomidou.mybatisplus.service.IService;
import org.apache.solr.common.SolrDocumentList;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xiah
 * @since 2018-05-29
 */
public interface ProductService extends IService<Product> {
       SolrDocumentList getProduct(String search) throws Exception;

       Object addProduct() throws Exception;
}
